<!DOCTYPE html>
<html>

<head>

<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">

<title>Mega Acerto</title>

<link href="/megaacerto/style/css/bootstrapSpaceLab.css"
	rel="stylesheet">

<link rel="stylesheet" type="text/css"
	href="/megaacerto/style/css/styles.css" />
</head>

<body ng-app="myApp" ng-controller="Usuario">

	<div ng-include src="'/megaacerto/page/menu.jsp'"></div>

	<div id="wrap">
		<div id="main" class="container clear-top">
			<div class="row">
				<div class="panel panel-primary" ng-show="show" >
					<div class="panel-heading">
						<h3 class="panel-title">Alterar senha</h3>
					</div>
					<div class="panel-body">
						<span>Senha deve conter no minimo 6 characters.</span><br/><br/>
						<span ng-show="msgErro">Seu email n&atilde;o foi encontrado.</span>
						<form class="form-horizontal" name="myForm">
							<div class="form-group">
								<label for="inputSenha" class="control-label col-xs-2">Senha</label>
								<div class="col-xs-6">
									<input id="inputSenha" ng-model="senha" name="senha"
										type="password" class="form-control" ng-minlength="6" 
										ng-required="true">
								</div>
							</div>
							<div class="form-group">
								<label for="inputSenhaConfirma" class="control-label col-xs-2">Confirme
									senha</label>
								<div class="col-xs-6">
									<input id="inputSenhaConfirma" name="confirmSenha"
										ng-model="confirmSenha" type="password" class="form-control"
										placeholder="Confirme senha" ui-validate=" '$value==senha' " 
										ui-validate-watch=" 'senha' " ng-required="true">
								</div>
							</div>
							<div class="form-group" >
								<div class="col-xs-offset-2 col-xs-10">
									<button type="button" ng-disabled="myForm.$invalid"
										class="btn btn-primary" ng-click="alterar(<%=request.getParameter("jjcmpainest34343__cmfretsViu8") %>);">Enviar</button>
								</div>
							</div>
						</form>
					</div>
				</div>
				<div class="panel panel-primary" ng-show="!show" >
					<div class="panel-heading">
						<h3 class="panel-title">Alterar senha</h3>
					</div>
					<div class="panel-body">
						<span>Senha alterada com sucesso !!!</span><br/><br/>
					</div>
				</div>
				
			</div>
		</div>
	</div>

	<!--Criar Pagefooter  -->
	<div ng-include src="'/megaacerto/page/footer.html'"></div>

	<!-- PARA FAZER MASCARA FUNCIONAR ANGULAR JS/	-->
	<script src="/megaacerto/javascript/recursos/jquery-1.2.6.pack.js"></script>
	<script
		src="/megaacerto/javascript/recursos/jquery.maskedinput-1.1.4.pack.js"></script>

	<script type="text/javascript"
		src="//cdnjs.cloudflare.com/ajax/libs/angular.js/1.2.20/angular.js"></script>

	<script type="text/javascript"
		src="/megaacerto/javascript/control/angular-route.js"></script>

	<script type="text/javascript"
		src="/megaacerto/javascript/recursos/ui-utils.js"></script>
	<script src="/megaacerto/javascript/recursos/cpf.js"></script>
	<script src="/megaacerto/javascript/recursos/cnpj.js"></script>
	<script src="/megaacerto/javascript/recursos/ngCpfCnpj.js"></script>

	<script type="text/javascript"
		src="/megaacerto/javascript/control/alterarSenha.js"></script>
</body>

</html>